#pragma once
#include "CodeBook.h"
#include "../FeatureExtract/FeatureExtract.h"
#include "../Cluster/Cluster.h"
#include "../Data/PatchSample.h"

class CCodeBookGenerator
{
public:
	CCodeBookGenerator(void);
	~CCodeBookGenerator(void);


	CCodeBook* CreateCodeBook(CString& sFolder, CFeatureExtract* extractor, CCluster* cluster);
	CCodeBook* CreateCodeBook(CArray<CPatchSample*>& m_arrFeatures, CCluster* cluster);

};
